package com.red.wood.module.example.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.red.wood.module.example.dao.ExampleDao;

@Service("exampleService")
public class ExampleService{

	@Autowired
	private ExampleDao exampleDao;
	
	public List<Map<String, Object>> getAllData(Map<String,Object> param){
		return exampleDao.getAllData(param);
	}
	
	public long getCount(Map<String,Object> param){
		return exampleDao.getCount(param);
	}
}
